<?php 
	header('Access-Control-Allow-Origin:*');
	header('Content-type:text/html;charset=utf-8');
    ini_set('max_execution_time','0');
	ini_set("memory_limit",'1280M');
	//设置时区
	ini_set('date.timezone','Asia/Shanghai');
	
	/*写入日志*/
	$date = date("Y_m_d_H_i_s");
	$myfile = fopen(dirname(dirname(__FILE__))."\\log\\".$date.".txt", "w") or die("Unable to open file!"); 
	
	/*sqlserver数据库连接配置****************************************************************数据库*/
	$server = array(
		'DB_HOST_CMDB'=>'127.0.0.1',
		'DB_USER_CMDB'=>'sa',
		'DB_PASSWORD_CMDB'=>'1qaz@WSX',
		'DB_DATABASE_CMDB'=>'My',
	);
	
	$nodeParameter = array(
		/*node表*/
		'nodeTable'=>'tree',
		/*server连接表*/
		'server'=>'server', 
		
	);
	
	$page = array(
		'listRows'=>8,					//每页显示数量
		'show'=>'0,1,2,3,4,5,6,7',		//分页展示
	);
	//sql执行方式
	$SqlCarried = array(
		'分页'=>'分页',
		'查询'=>'查询',
	);
	//模块对应表名(节点删除时关联删除对应表内节点数据)
	$Module_Table = array(
		'1'=>'sql_CarriedOut',
		'3'=>'server',
		'6'=>'SEPM_APIS',
	);
	
	
	//加密key
	$crypt=array(
		//加密key
		'key' => '405305c793179059f8fd52436876750c587d19ccfbbe2a643743d021dbdcd79c'
	);
	
?>